package com.demo.controller.from;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginFrom {

    /**
     * 账号
     */
    @ApiModelProperty("用户名")
    @NotEmpty
    private String userUsername;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    @NotEmpty
    private String userPassword;
}
